/*************************************************************************
    > File Name: boosttest.cpp
    > Author: ma6174
    > Mail: ma6174@163.com 
    > Created Time: 2019年07月09日 星期二 17时34分24秒
 ************************************************************************/
#include <boost/version.hpp>
#include <boost/config.hpp>
#include <boost/lexical_cast.hpp>
#include <iostream>
 
using namespace std;
 
int main()
{
    using boost::lexical_cast;
    int a= lexical_cast<int>("123456");
    double b = lexical_cast<double>("123.456");
    std::cout << a << std::endl;
    std::cout << b << std::endl;
    return 0;
}